package com.mz.entity.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.mz.entity.OmsGoodsInfo;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
public class OrderInfoVo {

    //购买人
    @NotNull(message = "userId不能为空")
    private Long userId;
    //是否使用优惠券。
    private Integer useCoupon;
    //优惠券id
    private List<Long> couponIds;
    //商品详情
    @NotNull(message = "orderGoodsInfoList不能为空")
    private List<OrderGoodsInfo> orderGoodsInfoList;

}
